<!DOCTYPE html>
<html>
    <head>
        <style>
        div {
            display: -webkit-inline-box;
            width: 100px;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
        }
        </style>
    </head>
    <body>
        This test prevents regression of now-removed legacy line
        clamping behavior where a trailing anchor tag in a
        line-clamped inline box would always render and be available
        for hit-testing in the ellipsified visible box. Test passes
        if no anchor text is visible.
        <br><br>
        <div>
            aaaaa bbbbb<a href="#">ccccc</a>
        </div>
    </body>
</html>
